package com.example.crowdfunding.constant;

/**
 * 自定义的常量类
 */
public class CrowdConstant {

    //ATTR即attribute
    public static final String ATTR_NAME_EXCEPTION = "exception";
    public static final String MESSAGE_LOGIN_FAILED = "账号或者密码错误";
    public static final String MESSAGE_LOGIN_SUCCEED = "恭喜你，登陆成功";
    public static final String MESSAGE_REGISTER_ACCT_ALREADY_IN_USE = "此账户名已被使用";
    public static final String MESSAGE_LOGIN_ACCESS_FORBIDDEN = "未登录，请先登录";
    public static final String MESSAGE_STRING_INVALIDATE = "非法字符串";
    public static final String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    public static final String MESSAGE_SYSTEM_ERROR = "发生了数据库或者系统异常";
    public static final String MESSAGE_DATABASE_TOO_MANY_RESULT = "查询到数据库中同一账户存在多条记录";
    public static final String ATTR_NAME_PAGE_INFO = "pageInfo";
    public static final String MESSAGE_INPUT_REGISTER_MISSING_PARAMETERS = "存在必填项为空";
    public static final String MESSAGE_INPUT_EDIT_MISSING_PARAMETERS = "一个或者多个必要的参数输入错误";
    public static final String MESSAGE_SAVE_ROLE_SUCCESS = "保存角色成功";
    public static final String MESSAGE_RESPONSE_SERVER_SUCCESS = "成功接收到服务器的响应";
    public static final String MESSAGE_UPDATE_ROLE_SUCCESS = "修改角色成功";
    public static final String MESSAGE_DELETE_ROLE_SUCCESS = "删除角色成功";
    public static final String MESSAGE_SAVE_NODE_SUCCESS = "保存节点成功";
    public static final String MESSAGE_UPDATE_NODE_SUCCESS = "更新节点成功";
    public static final String MESSAGE_DELETE_NODE_SUCCESS = "删除节点成功";
    public static final String MESSAGE_GET_AUTH_SUCCESS = "成功获取权限数据";
    public static final String MESSAGE_ASSIGN_AUTH_SUCCESS = "权限分配成功";
    public static final String MESSAGE_ACCESS_DENIED = "访问被拒绝";

}
